package com.ruoyi.supermarket.mapper;

import java.util.List;
import com.ruoyi.supermarket.domain.SupermarketStock;

/**
 * 进货信息Mapper接口
 * 
 * @author faye
 * @date 2024-05-28
 */
public interface SupermarketStockMapper 
{
    /**
     * 查询进货信息
     * 
     * @param stockId 进货信息主键
     * @return 进货信息
     */
    public SupermarketStock selectSupermarketStockByStockId(Long stockId);

    /**
     * 查询进货信息列表
     * 
     * @param supermarketStock 进货信息
     * @return 进货信息集合
     */
    public List<SupermarketStock> selectSupermarketStockList(SupermarketStock supermarketStock);

    /**
     * 新增进货信息
     * 
     * @param supermarketStock 进货信息
     * @return 结果
     */
    public int insertSupermarketStock(SupermarketStock supermarketStock);

    /**
     * 修改进货信息
     * 
     * @param supermarketStock 进货信息
     * @return 结果
     */
    public int updateSupermarketStock(SupermarketStock supermarketStock);

    /**
     * 删除进货信息
     * 
     * @param stockId 进货信息主键
     * @return 结果
     */
    public int deleteSupermarketStockByStockId(Long stockId);

    /**
     * 批量删除进货信息
     * 
     * @param stockIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSupermarketStockByStockIds(Long[] stockIds);
}
